package com.neusoft.elm.dao;
import com.neusoft.elm.po.User;
public interface UserDao {
    //注册 添加用户
     int saveUser(User user) throws Exception;
     //登陆 依据手机号（userId）和密码（password） 查询用户
     User getUserByIdByPass(String userId,String password) throws Exception;
     //查询手机号是否被注册
     // 依据手机号码查询用户
     User getUserById(String userId) throws Exception;
}
